package com.fwx.chatroom.mapper;

import com.fwx.chatroom.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    //注册
    int insert(User user);
    //登录(根据用户名查询用户信息)
    User selectByName(String username);
}
